/** 
/* 项目名称：nodejs+koa+mongodb的前端项目
/* 创建时间：2021-05-27
/* 创建人：hanshiyan
/* 正式环境：http://nba.hidoone.cn/
/* 测试环境：https://hi.189.cn/equitiesWebTest/
**/

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import api from './config/api.js'
import comFun from './assets/js/common.js'
import filter from './assets/js/filter.js' 
import { Lazyload, Button, Image, Toast, Dialog, Icon, Loading, Field, Tab, Tabs } from 'vant'
import './assets/css/reset.scss'
import './assets/iconfont/iconfont.css';

//开启debug模式
Vue.config.debug = true;
Vue.config.productionTip = false

Vue.use(Lazyload)
Vue.use(Button)
Vue.use(Image)
Vue.use(Toast)
Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Loading)
Vue.use(Field)
Vue.use(Tab)
Vue.use(Tabs)  
 
Vue.prototype.$api = api
Vue.prototype.$comFun = comFun

// router.beforeEach((to, from, next) => {
  
// })

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
